package com.bondmatch.demo.mapper;

import com.bondmatch.demo.model.TransRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface TransRequestMapper {

    int updateState(Integer id);

    /*批量插入*/
    int batchInsert(List<TransRequest> records);

    TransRequest selectByPrimaryKey(Integer id);

    //分页查询
    List<TransRequest> selectAll();
}